package com.sense.kukoo.common.repo.bean

import com.sense.kukoo.common.repo.http.bean.IndexContentBean
import com.sense.kukoo.common.repo.http.bean.UserSearchBean

data class SearchBean(
    val type:Int,

    //TYPE_RECENT_ITEM
    val keyword:String = "",
    //TYPE_SEARCH_RESULT
    val user: UserSearchBean? = null,
    val content: IndexContentBean? = null,
    //TYPE_RECOMMEND
    var recommend:List<String> = listOf(),
) {
    companion object{
        val TYPE_RECOMMEND = 0
        val TYPE_RECENT_TITLE = 1
        val TYPE_RECENT_ITEM = 2

        val TYPE_SEARCH_RESULT_USER = 3
        val TYPE_SEARCH_RESULT_CONTENT = 4
    }
}